import request from '../utils/request'
interface Iuser{
  isAgree:boolean,
  mobile:string,
  password:string
}
// 登录接口
export function login(data:Iuser) {
  return request({
    url: '/sys/login',
    method: 'post',
    data
  })
}